package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zdl
 * @date 2025/3/14
 */
@Data
public class Employee {
    private int id;
    private String name;
    private String sex;
    private int age;
    private String address;
    private String post;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    private String description;
    private String suggestsalary;
    private String salary;
    private String opinion;
    private String state;
}
